<!DOCTYPE composition  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	template="/accTemplate/tempacc.xhtml">
                
	<ui:define name="body">
	<h:form id="menuAccountID">
                    <div class="content_code">
                    	
                    	  <table width="100%" border="0" cellspacing="0" cellpadding="5">
                            <tr>
                              <td width="150">Mã tài khoản</td>
                              <td><h:inputText value="#{accountBean.nAccount}" />
                                  <font color="red">(Format: 000000)</font></td>
                            </tr>
                            <tr>
                              <td class="wD">Tên tài khoản (VN) </td>
                              <td width="400"><h:inputText  class="ipD" value="#{accountBean.nDescrVN}"/></td>
                              <td><input name="checkbox" type="checkbox" />
                                Chênh lệch tỷ giá</td>
                            </tr>
                            <tr>
                              <td class="wD">Tên tài khoản (EN) </td>
                              <td><h:inputText class="ipD" value="#{accountBean.nDescrEN}"/></td>
                            </tr>
                            <tr>
                              <td class="wD">Account name (KR) </td>
                              <td><h:inputText class="ipD" value="#{accountBean.nDescrKR}"/></td>
                            </tr>
                            <tr>
                              <td class="wD">Loại tài khoản </td>
                              <td><table><tr><td width="150">
                              <h:selectOneListbox value="#{accountBean.nAccountType}" size="1" id="nAccountType" title="select one option">
										<f:selectItem itemLabel="-- Select account type-- "
											itemValue="-1" />
										<f:selectItems value="#{accountBean.lstAccountType}" />
							</h:selectOneListbox>
                              <!-- <select name="select" style="width:150px">
                                <option>Asset</option>
                                <option>Asset1</option>
                                <option>Asset2</option></select> -->
                              </td>
							  <td width="100" align="center">Nhóm TK</td> 
                              <td align="right" width="150">
                              <h:inputText value="#{accountBean.nClassID}"/></td>
							  </tr>
							  <tr><td>
                              </td>
							  <td align="center">Trạng thái</td> 
                              <td align="right">
                              <h:selectOneListbox size="1" id="subscriptions" value="#{accountBean.nStatus}">
 								 <f:selectItem id="item1" itemLabel="Active" itemValue="1" />
 								 <f:selectItem id="item2" itemLabel="InActive" itemValue="2" />
							  </h:selectOneListbox>
                              <!-- <select name="select" style="width:150px" value="Active">
                                <option>Active</option>
                                <option>Active2</option>
                                <option>Active2</option></select> -->
                                </td>
							  </tr></table>                              
							  </td>
                            </tr>
                         
                            <tr>
                              <td colspan="3">
							  <div class="div_tabH">
							  <table class="catD" width="90%" cellspacing="0" cellpadding="5">
                                  
                                  <tr class="table_new" >
                                    <td>&nbsp;</td>
                                    <td>Mã tài khoản </td>
                                    <td>Tên tài khoản (VN) </td>
                                    <td>Tên tài khoản (KR) </td>
                                    <td>Account name (KR) </td>
                                    <td>Loại tài khoản </td>
                                    <td>Nhóm tài khoản </td>
                                    <td>Trạng thái </td>
                                    <td>Chênh lệc tỷ giá </td>
                                  </tr>								  
                                  <tr class="row">
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                  </tr >
                                  <tr class="row">
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                  </tr>
                                  <tr class="row">
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                  </tr>
                                  <tr class="row">
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                  </tr>
                                  <tr class="row">
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                  </tr>
                                  <tr class="row">
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                  </tr>
                                  <tr class="row">
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                    <td>&nbsp;</td>
                                  </tr>
                                </table>
								<div class="ptH">
                                    <ul>
                                      <li>Recort:</li>
                                      <li><a href="#"><img src="#{facesContext.externalContext.requestContextPath}/images/icon_03.png" alt="Pre All" /></a></li>
                                      <li><a href="#"><img src="#{facesContext.externalContext.requestContextPath}/images/icon_05.png" alt="Pre" /></a></li>
                                      <li>
                                        <input class="reD" name="recort" type="text" value="12" />
                                      </li>
                                      <li>of 123</li>
                                      <li><a href="#"><img src="#{facesContext.externalContext.requestContextPath}/images/icon_07.png" alt="Next" /></a></li>
                                      <li><a href="#"><img src="#{facesContext.externalContext.requestContextPath}/images/icon_09.png" alt="Next All" /></a></li>
                                    </ul>
                                  </div>
								</div>
                                </td>
                            </tr>
                            
                          </table>
                    	  <div class="smH">
                                	<ul>
                                    	<li><h:commandButton class="btn_choose" value="Tạo mới" actionListener="#{accountBean.newAccount}"/></li>
                                        <li><h:commandButton class="btn_choose" value="Lưu" actionListener="#{accountBean.insertAccount}"/></li>
                                        <li><h:commandButton class="btn_choose" value="Xóa" actionListener="#{accountBean.deleteAccount}"/></li>
                                        <li><h:commandButton class="btn_choose" value="Sửa" actionListener="#{accountBean.editAccount}"/></li>
                                    </ul>
                          </div>
						
                    </div>
    			</h:form>
	</ui:define>
</ui:composition>